﻿namespace iMarkdown.Blocks;

public class CodeBlock : Block
{
    public string Language { get; set; } = "";
    public override string ToHtml()
    {
        return $"<pre><code language=\"{Language}\">{Context}</code></pre>";
    }
}